<template>
	<view class="container user-feedback">
		<view class="feedback-main">
			<view class="feedback-list" @click="jump('/pages/user/feedbackDetail?type=new')">
				<view class="list-title">新功能建议</view>
				<view class="list-ico iconfont">&#xe775;</view>
			</view>
			<view class="feedback-list" @click="jump('/pages/user/feedbackDetail?type=complaint')">
				<view class="list-title">服务投诉</view>
				<view class="list-ico iconfont">&#xe775;</view>
			</view>
		</view>
	</view>
</template>

<script setup lang="ts">
	import { onMounted, ref } from 'vue';
	onMounted(async () => { })
	
	const jump = (url : string) => {
		uni.navigateTo({ url: url })
	}
</script>

<style lang="scss">
.user-feedback{
	padding: 30rpx;
	.feedback-main{
		background: #FFFFFF;
		box-shadow: 0 8rpx 10rpx 0 rgba(0,0,0,0.1);
		padding: 0 20rpx;
		border-radius: 10rpx;
	}
	.feedback-list{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 30rpx 0;
		border-bottom:solid 1px #eee;
	}
	.feedback-list:last-child{
		border-bottom: unset;
	}
	.list-title{
		font-size: 28rpx;
		color: #232323;
	}
}
</style>
